export function clearStorage() {
	return uni.clearStorageSync()
}


const TokenKey = 'token'

export function getToken() {
	return uni.getStorageSync(TokenKey)
}
export function setToken(token) {
	return uni.setStorageSync(TokenKey, token)
}
export function removeToken() {
	return uni.removeStorageSync(TokenKey)
}



const phoneKey = 'phone'
export function getPhone() {
	return uni.getStorageSync(phoneKey)
}
export function setPhone(phone) {
	return uni.setStorageSync(phoneKey, phone)
}
export function removePhone() {
	return uni.removeStorageSync(phoneKey)
}



const userKey = 'user'
export function getUser() {
	return uni.getStorageSync(userKey)
}
export function setUser(user) {
	return uni.setStorageSync(userKey, user)
}
export function removeUser() {
	return uni.removeStorageSync(userKey)
}
